package ooday05;

public class EnumDemo {
    public static void main(String[] args) {

        Season s=Season.AUTUMN;

        switch (s){
            case SPRING:
                System.out.println("天气"+s.getSeasonDescribe()+"出去踏青咯");
                break;
            case SUMMER:
                System.out.println("开空调，看"+s.getSeasonDescribe());
                break;
            case AUTUMN:
                System.out.println("天气真"+s.getSeasonDescribe()+"去gomaz咯");
                break;
            case WINTER:
                System.out.println(s.getSeasonDescribe());
                break;
        }
        Season[] seasons=Season.values();

    }
}
